package sdaf.dsaf.sdf;

import android.app.Activity;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.content.DialogInterface;
import android.os.Bundle;
import android.webkit.WebView;
import android.widget.Button;

public class AlertActivity extends Activity {
    
	Button b1;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        b1 = (Button) findViewById(R.id.b1);
        AlertDialog.Builder alert = new AlertDialog.Builder(this);
        alert.setTitle("you dont say?");
        alert.setMessage("do u syaa?");
        alert.setPositiveButton("yes", new DialogInterface.OnClickListener() {
        	   public void onClick(DialogInterface dialog, int which) {
        	     
        	   }
        	});
        alert.setCancelable(true);
        alert.setNegativeButton("no",  new DialogInterface.OnClickListener() {
			
			public void onClick(DialogInterface dialog, int which) {
				// TODO Auto-generated method stub
				
			}
		});
        alert.show();
        
        WebView wv = (WebView) findViewById(R.id.webView1);
        wv.loadUrl("http://www.teamliquid.net/"); 
    }
}